import request from '@/utils/request'

export function queryPlace(params) {
  return request({
    url: '/queryPlaces',
    method: 'get',
    params
  })
}

export function updatePlace(params) {
  return request({
    url: '/updatePlace',
    method: 'get',
    params
  })
}

export function delPlace(params) {
  return request({
    url: '/delPlace',
    method: 'get',
    params
  })
}

export function queryPlaceImage(params) {
  return request({
    url: '/queryPlaceImage',
    method: 'get',
    params
  })
}

export function addPlaceImage(params) {
  return request({
    url: '/addPlaceImage',
    method: 'get',
    params
  })
}

export function delPlaceImage(params) {
  return request({
    url: '/delPlaceImage',
    method: 'get',
    params
  })
}

export function queryPlaceLocations(params) {
  return request({
    url: '/queryPlaceLocations',
    method: 'get',
    params
  })
}

export function addPlace(params) {
  return request({
    url: '/addPlace',
    method: 'get',
    params
  })
}

export function addPlaceLocations(params) {
  return request({
    url: '/addPlaceLocations',
    method: 'get',
    params
  })
}

export function modifiyPlaceLocations(params) {
  return request({
    url: '/modifiyPlaceLocations',
    method: 'get',
    params
  })
}

export function delPlaceLocation(params) {
  return request({
    url: '/delPlaceLocation',
    method: 'get',
    params
  })
}

export function queryVideo(params) {
  return request({
    url: '/queryVidos',
    method: 'get',
    params
  })
}

export function delVideo(params) {
  return request({
    url: '/delVido',
    method: 'get',
    params
  })
}

export function addVideo(params) {
  return request({
    url: '/addVido',
    method: 'get',
    params
  })
}
